<div class="collection-item-listing">
<table>
    <tbody>
        <tr>
            <th>
                Type
            </th>
            <td>
                <?php echo $collectionItem->getCollectionType()->getTypeName() ?>
            </td>
        </tr>


        <?php if ($collectionItem->getRelationsByIdentifierArray(sfConfig::get('app_list_owner_relation_types'))->count() > 0): ?>
                    <tr>
                        <th>Owner</th>
                        <td>
                <?php foreach ($collectionItem->getRelationsByIdentifierArray(sfConfig::get('app_list_owner_relation_types')) as $ownerRelation): ?>
                        <p><?php echo $ownerRelation->getRelatedItem()->getCollectionName() ?></p>
                <?php endforeach; ?>
                    </td>
                </tr>
        <?php endif; ?>

        <?php foreach ($collectionItem->getCompressedPropertyValueArrayForIdentifiers(sfConfig::get('app_list_display_system_properties'), false, false) as $displayPropertyName => $displayPropertyValue): ?>
                            <tr>
                                <th>
                <?php echo $displayPropertyName ?>
                        </th>
                        <td>
                <?php echo $displayPropertyValue ?>
                        </td>
                    </tr>
        <?php endforeach; ?>

    </tbody>
</table>
</div>